Conditions | 2 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import { BEditaApiClient, ApiClientConfig } from './bedita-api-client'; |
||
35 | |||
36 | /** |
||
37 | * Return `true` if an API client with that `name` is in the registry. |
||
38 | * |
||
39 | * @param name The name of registered API client |
||
40 | */ |
||
41 | public static has(name: string): boolean { |
||
42 | if (this.#registry[name]) { |
||
43 | return true; |
||
44 | } |
||
45 | |||
46 | return false; |
||
47 | } |
||
62 |